package com.tian.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 笔记目录表 Notedir
 *
 * @author zcx
 * @creatDate 2020-01-04 17:09:13
*/
public class Notedir {
	private static final long serialVersionUID = 1L;

	/** 编号*/
	private Long id;
	/** 目录名称*/
	private String name;
	/** 目录图标class*/
	private String iconSkin;
	/** 父节点*/
	private Long parentId;
	/** 是否叶子节点*/
	private String isLeaf;
	/** 排序编号*/
	private int listId;


    /** 编号*/
	public void setId(Long id){
		this.id = id;
	}
    /** 编号*/
	public Long getId(){
		return id;
	}

    /** 目录名称*/
	public void setName(String name){
		this.name = name;
	}
    /** 目录名称*/
	public String getName(){
		return name;
	}

    /** 目录图标class*/
	public void setIconSkin(String iconSkin){
		this.iconSkin = iconSkin;
	}
    /** 目录图标class*/
	public String getIconSkin(){
		return iconSkin;
	}

    /** 父节点*/
	public void setParentId(Long parentId){
		this.parentId = parentId;
	}
    /** 父节点*/
	public Long getParentId(){
		return parentId;
	}

    /** 是否叶子节点*/
	public void setIsLeaf(String isLeaf){
		this.isLeaf = isLeaf;
	}
    /** 是否叶子节点*/
	public String getIsLeaf(){
		return isLeaf;
	}

    /** 排序编号*/
	public void setListId(int listId){
		this.listId = listId;
	}
    /** 排序编号*/
	public int getListId(){
		return listId;
	}


    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("iconSkin", getIconSkin())
            .append("parentId", getParentId())
            .append("isLeaf", getIsLeaf())
            .append("listId", getListId())
            .toString();
    }
}
